package com.cx.mall.demo.controller;

import com.cx.mall.common.utils.ResponseVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/example")
public class ExampleController {
    @GetMapping("/predicate")
    public ResponseVO predicate(String type){
        return ResponseVO.success("断言工厂:" + type);
    }
}
